#!/bin/bash

set -x
#
# Config
#
LOGFOLDER=/var/log/jwebmin/
LOGFILE=sudo.log
LOG=$LOGFOLDER$LOGFILE


# Parameter checken
# Ausfueren
mkdir -p $LOGFOLDER || exit 9

echo "$@" > $LOG
$@

